package com.graduation.roombooking.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.roombooking.pojo.Room;
import com.graduation.roombooking.vo.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhaoXinyi
 * @since 2022-05-04
 */
public interface IRoomService extends IService<Room> {

    //获取会议室列表
    RespBean getList(String companyName);

    //组织管理员添加
    RespBean addOne(AddRoomVo addRoomVo, String companyName);

    //组织管理员修改组织基本信息
    RespBean updateBaseInfo(UpdateRoomBaseInfoVo updateRoomBaseInfoVo, String companyName);

    //组织管理员删除
    RespBean deleteOne(Integer id, String companyName);

    //联合查询
    RespBean unionQuery(RoomUnionQuery roomUnionQuery, String companyName);

    //系统管理员修改会议室状态
    RespBean sysUpdateStatus(Integer id);

    //applet——会议室列表
    RespBean getAppletRoomList(AppletRoomVo appletRoomVo);

    //applet——获取会议室详情
    RespBean getRoomInfo(RoomInfoVo roomInfoVo);
}
